package com.dkd.manage.mapper;

import java.util.List;
import com.dkd.manage.domain.RepairCategory;

/**
 * 维修分类Mapper接口
 * 
 * @author czq
 * @date 2024-11-09
 */
public interface RepairCategoryMapper 
{
    /**
     * 查询维修分类
     * 
     * @param id 维修分类主键
     * @return 维修分类
     */
    public RepairCategory selectRepairCategoryById(Long id);

    /**
     * 查询维修分类列表
     * 
     * @param repairCategory 维修分类
     * @return 维修分类集合
     */
    public List<RepairCategory> selectRepairCategoryList(RepairCategory repairCategory);

    /**
     * 新增维修分类
     * 
     * @param repairCategory 维修分类
     * @return 结果
     */
    public int insertRepairCategory(RepairCategory repairCategory);

    /**
     * 修改维修分类
     * 
     * @param repairCategory 维修分类
     * @return 结果
     */
    public int updateRepairCategory(RepairCategory repairCategory);

    /**
     * 删除维修分类
     * 
     * @param id 维修分类主键
     * @return 结果
     */
    public int deleteRepairCategoryById(Long id);

    /**
     * 批量删除维修分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRepairCategoryByIds(Long[] ids);
}
